import Vue from "vue";
import App from "./App.vue";
//导入Vant三方库
import Vant from "vant";
//引入Vant的css样式
import "vant/lib/index.css";
//引入Vant
Vue.use(Vant);
//导入router
import router from "./router";
//导入HmHeader组件
import HmHeader from "./components/HmHeader";
//将HmHeader组件注册为全局组件
Vue.component("HmHeader", HmHeader);
Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
  //挂载router
  router,
}).$mount("#app");
